﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TomNet.Core.Data;
using TomNet.IMSC.Model.Infrastructure;

namespace TomNet.IMSC.Model.DbModels.Common
{
    /// <summary>
    /// 图片表
    /// </summary>
    public class Images : GeneralBase<int>
    {
        /// <summary>
        /// 图片组ID
        /// </summary>
        public int GroupID { get; set; }
        /// <summary>
        /// 相关ID
        /// </summary>
        public int InterfixID { get; set; }
        /// <summary>
        /// 图片类型
        /// </summary>
        public int ImageType { get; set; }
        /// <summary>
        /// 图片路径
        /// </summary>
        [StringLength(255)]
        public string ImagePath { get; set; }
        /// <summary>
        /// 文件名
        /// </summary>
        [StringLength(50)]
        public string FileName { get; set; }
        /// <summary>
        /// 图片顺序
        /// </summary>
        public int ShowIndex { get; set; }
        /// <summary>
        /// 附加信息
        /// </summary>
        public string Tag { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
